<div class="inscription">
<form id="formConnexion" name="formInscription" action="<?php echo base_url()."index.php/inscription/index";?>" method="POST">
	<span class="titleSection"><u>Inscription à eve :</u></span>
	<div class="champFormulaire">
		<p><i>Les champs comportant une * sont obligatoires</i></p>
		<br/>
		
        <p><span>Nom </span><input type="text" id="nom" name="nom" value="<?php echo set_value('nom') ?>" /><br/></p>
		<p><span>Pr&ecute;nom* </span><input type="text" id="prenom" name="prenom" value="<?php echo set_value('prenom') ?>" /><br/></p>
		<p><span>E-mail* </span><input type="text" id="email" name="email" value="<?php echo set_value('email') ?>" /><br/></p>
		<p><span>Ville </span><input type="text" id="ville" name="ville" value="<?php echo set_value('ville') ?>" /><br/></p>
		<p><span>Login* </span><input type="text" id="login" name="login" value="<?php echo set_value('login') ?>" /><br/></p>
		<p><span>Password* </span><input type="password"  id="password" name="password" value="<?php echo set_value('password') ?>" /><br/></p>
                
		<p><u> S&eacute;lectionnez votre statut* : </u></p>
		<input type="radio" id="ckEtudiant" name="ckTypeInscription" value="1" class="checkbox" <?php echo set_radio('ckTypeInscription', '1', true); ?> > <label for="ckEtudiant">Etudiant</label><br/>
		<input type="radio" id="ckEnseignant" name="ckTypeInscription" value="2" class="checkbox" <?php echo set_radio('ckTypeInscription', '2'); ?>> <label for="ckEnseignant">Enseignant</label><br/>

		<p><u>S&eacute;lectionnez votre formation* :</u></p>
		<select id="ListeElement" name="ListeFormationInscription" class="select"> 
			<?php
				echo '<option value="-1" '.set_select('ListeFormationInscription', '-1', true).'></option>';
				foreach ($listeFormation as $row)
				{
					echo '<option value="' . $row->idformation . '" '.set_select('ListeFormationInscription', $row->idformation).'>' . $row->nom . "</option>";
				}
			?>			
		</select><br/>
		
		<p><u>S&eacute;lectionnez les modules suivis* :</u></p>
<!--		<select id="ListeElement" name="ListeModuleInscription" class="select">
			<?php
				echo '<option value="-1" '.set_select('ListeModuleInscription', '-1', true).'></option>';
				foreach ($listeModule as $row)
				{
					echo '<option value="' . $row->idformation . '" '.set_select('ListeModuleInscription', $row->idformation).'>' . $row->nom . "</option>";
				}
			?>	-->
                    <div id="listeCheckModule">
		<?php
                    foreach ($listeModule as $row)
                    {	
			echo '<input type="checkbox" name="modules[]" value="'.$row->idmodule.'" '.set_checkbox('modules[]', $row->idmodule, false).' /> ';
			echo $row->nom;
			echo '<br>';			
                    }
		?>
		</div>
<!--		</select><br/>-->
		<input type="submit" id="btnValiderInscription" value="Valider"/>
	</div>

	<?php 
	echo validation_errors();
	?>

	<div id="idErrorInscription" class="errorInscription"><span></span></div>
</form>
</div>
